<template>
  <div class="releaseSuccess">
    <div class="releaseSuccess_body">
      <div class="releaseSuccess_body_top"></div>
      <div class="releaseSuccess_body_middle">发布成功</div>
      <div class="releaseSuccess_body_bottom"  @click="toNextConsult">
        返回等待
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "releaseSuccess",
  methods: {
    toNextConsult() {
      this.$router.push("/home");
    },
  },
};
</script>

<style lang="scss" scope>
.releaseSuccess {
  width: 100%;
  background-color: #fafafa;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  overflow-y: auto;
  z-index: 10;
  &_body {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    &_top {
      width: 200px;
      height: 200px;
      margin: 30px 0;
      background-color: #c4c4c4;
    }
    &_middle {
      margin-bottom: 50px;
    }
    &_bottom {
      background-color: #c4c4c4;
      color: #fff;
      padding: 15px;
    }
  }
}
</style>
